/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.migo.mongo.entity;

import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 售后服务日志表
 */
@Document(collection = "FirmwareUpdateLog")
public class FirmwareUpdateLog implements Serializable{

    //唯一标识
    private String rowId;
    //硬件类型
    private String hardwareType;
    //硬件型号
    private String hardwareModel;
    //固件最新版本号
    private String firmwareLatestVersionCode;
    //产品型号
    private String equipmentModel;
    //固件下载地址
    private String firmwareDownloadAddr;
    //信息录入时间
    private String addTime;
    //固件描述信息
    private String firmwareDescription;
    //合并版本号
    private String mergeVersion;
    //更新方式0不强制、1强制
    private Integer updateMethod;
    //是否强制升级（0否，1是）
    private Integer isMandatoryUpgrade;
    //状态
    private Integer status;
    //固件大小
    private String firmwareSize;
    //添加人
    private String addUser;


    public String getRowId() {
        return rowId;
    }

    public void setRowId(String rowId) {
        this.rowId = rowId;
    }

    public String getHardwareType() {
        return hardwareType;
    }

    public void setHardwareType(String hardwareType) {
        this.hardwareType = hardwareType;
    }

    public String getHardwareModel() {
        return hardwareModel;
    }

    public void setHardwareModel(String hardwareModel) {
        this.hardwareModel = hardwareModel;
    }

    public String getFirmwareLatestVersionCode() {
        return firmwareLatestVersionCode;
    }

    public void setFirmwareLatestVersionCode(String firmwareLatestVersionCode) {
        this.firmwareLatestVersionCode = firmwareLatestVersionCode;
    }

    public String getEquipmentModel() {
        return equipmentModel;
    }

    public void setEquipmentModel(String equipmentModel) {
        this.equipmentModel = equipmentModel;
    }

    public String getFirmwareDownloadAddr() {
        return firmwareDownloadAddr;
    }

    public void setFirmwareDownloadAddr(String firmwareDownloadAddr) {
        this.firmwareDownloadAddr = firmwareDownloadAddr;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getFirmwareDescription() {
        return firmwareDescription;
    }

    public void setFirmwareDescription(String firmwareDescription) {
        this.firmwareDescription = firmwareDescription;
    }

    public String getMergeVersion() {
        return mergeVersion;
    }

    public void setMergeVersion(String mergeVersion) {
        this.mergeVersion = mergeVersion;
    }

    public Integer getUpdateMethod() {
        return updateMethod;
    }

    public void setUpdateMethod(Integer updateMethod) {
        this.updateMethod = updateMethod;
    }

    public Integer getIsMandatoryUpgrade() {
        return isMandatoryUpgrade;
    }

    public void setIsMandatoryUpgrade(Integer isMandatoryUpgrade) {
        this.isMandatoryUpgrade = isMandatoryUpgrade;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getFirmwareSize() {
        return firmwareSize;
    }

    public void setFirmwareSize(String firmwareSize) {
        this.firmwareSize = firmwareSize;
    }

    public String getAddUser() {
        return addUser;
    }

    public void setAddUser(String addUser) {
        this.addUser = addUser;
    }
}
